package com.qijian.maindata.domain.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("pxjl")
public class SafeModel {
    @ApiModelProperty("培训次数")
    private Integer trainingRecords;

    @ApiModelProperty("检查次数")
    private Integer inspectRecord;

    @ApiModelProperty("重大隐患")
    private Integer majorHiddenDanger;

    @ApiModelProperty("培训通过率")
    private BigDecimal trainingPassRate;

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "用户ID")
    private Long manageUserId;

    @ApiModelProperty(value = "用户名称")
    private String manageNickName;

    @ApiModelProperty(value = "部门Id")
    private String deptId;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long safetyUserId;


    private String safetyUserName;

    private String accidentCnt;
    private String penaltyCnt;
    private String rewardCnt;

    private String userId;

    private String nickName;

    private String region;


}
